package cn.bugstack.domain.activity.model.entity;

import cn.bugstack.domain.activity.model.valobj.OrderTradeTypeVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Title: SkuRechargeEntity
 * @Author tong
 * @Package cn.bugstack.domain.activity.model.entity
 * @Date 2025/6/9 11:24
 * @description: 商品活动充值实体对象
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SkuRechargeEntity {
    /*用户id*/
    private String userId;
    /*商品sku activity+activity count*/
    private Long sku;
    /*幂等业务单号，外部谁充值谁透传，这样来保证幂等（多次调用也能确保结果唯一，不会多次充值）*/
    private String outBusinessNo;

    private OrderTradeTypeVO orderTradeTypeVO = OrderTradeTypeVO.rebate_no_pay_trade;
}
